package com.saas.after.job.entity;

import com.saas.after.job.config.Comment;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @Classname WarehouseEntity
 * @Description TODO
 * @Date 2021/8/30 9:04
 * @Created by hjchen
 */


@Data
@Entity
@Table(name = "t_warehouse")
@Comment("库存信息")
@EqualsAndHashCode(callSuper = true)
public class WarehouseEntity extends BaseEntity {

    @Comment(value = "编码")
    private String code;

    @Comment(value = "名称")
    private String name;

    @Comment("仓库类型(1物理仓、2：逻辑仓:3：共享仓:4：渠道分配仓)")
    private String type;

    @Column(length = 50)
    @Comment("办事处组织编码")
    private String agencyOrgCode;

    @Column(length = 50)
    @Comment("办事处名称")
    private String agencyOrgName;
}